import 'package:freemusic/model/AbstractModel.dart';

class QQAccount extends AbstractModel {
  String nick;
  String headpic;
  int uin;
  String encryptuin;
  int visitornum; //来访
  int fansnum;
  int follownum;
  int followusernum;
  int followsingernum;
  int frdnum;

  void fromRemoteJosn(Map json){
    this.nick = json['nick'];
    this.headpic = json['headpic'];
    this.uin = json['uin'];
    this.encryptuin = json['encrypt_uin'];

    dynamic nums = json['nums'];

    this.visitornum = nums['visitornum'];
    this.fansnum = nums['fansnum'];
    this.follownum = nums['follownum'];
    this.followusernum = nums['followusernum'];
    this.followsingernum = nums['followsingernum'];
    this.frdnum = nums['frdnum'];
  }
}
